package com.bosssoft.ecds.entity.vo;

import com.bosssoft.ecds.entity.po.FbeStockFinanceapplyItemPO;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.Setter;
import lombok.ToString;

import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author 张东海
 * @date 2020/8/15
 * @description
 */
@Setter
@ToString
public class FbeStockFinanceapplyCheckVO {
    //主键
    private BigInteger id;
    //区域编码
    private String rgnCode;
    //单位编码
    private BigInteger agenIdCode;
    //单位名称
    private String agenName;
    //单位类型
    private String kindName;
    //状态（0：未提交，1：已提交/待审核，2：审核通过，3：审核被退回）
    private Integer status;
    //单号
    private Integer no;
    //联系人
    private String linkMan;
    //联系地址
    private String linkAddr;
    //联系电话
    private String linkTel;
    //摘要
    private String summary;
    //编制人
    private String author;
    //提交申请日期
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    private LocalDateTime submitDate;
    //备注
    private String memo;
    //申请票据项
    private List<FbeStockFinanceapplyItemPO> items;

    private String changeSitu;

    public BigInteger getId() {
        return id;
    }

    public String getRgnCode() {
        return rgnCode;
    }

    public BigInteger getAgenIdCode() {
        return agenIdCode;
    }

    public String getAgenName() {
        return agenName;
    }

    public String getKindName() {
        return kindName;
    }

    public Integer getStatus() {
        return status;
    }

    public Integer getNo() {
        return no;
    }

    public String getLinkMan() {
        return linkMan;
    }

    public String getLinkAddr() {
        return linkAddr;
    }

    public String getLinkTel() {
        return linkTel;
    }

    public String getSummary() {
        return summary;
    }

    public String getAuthor() {
        return author;
    }


    public LocalDateTime getSubmitDate() {
        return submitDate;
    }

    public String getMemo() {
        return memo;
    }

    public List<FbeStockFinanceapplyItemPO> getItems() {
        return items;
    }

    public String getChangeSitu() {
        return changeSitu;
    }
}
